package nz.ac.massey.doi_information_extractor.parser;

import java.io.IOException;

import nz.ac.massey.doi_information_extractor.data.Publication;

public interface ParserEngineInterface{


	/**
	 * Using a given DOI the engine uses the different plugins to get information
	 * about the publication and returns a publication
	 *
	 * @param doi The DOI to get information for
	 * @throws PublicationNotFoundException Thrown if no information can be found using the DOI
	 * @throws IOException Error connecting to internet
	 */
	Publication getInformationFromDOI(String doi) throws PublicationNotFoundException, IOException;
}
